﻿// DlgCarQR.cpp: 实现文件
//

#include "stdafx.h"
#include "GHCY.h"
#include "afxdialogex.h"
#include "DlgCarQR.h"
#include "Car.h"


// DlgCarQR 对话框

IMPLEMENT_DYNAMIC(DlgCarQR, CDialogEx)

DlgCarQR::DlgCarQR(Car* pCar, CWnd* pParent /*=nullptr*/)
	: CDialogEx(IDD_DIALOG_QR, pParent)
	, m_strIP(pCar->m_strIP)
	, m_strQR(pCar->m_strProductNumber)
	, m_strID(pCar->m_strProductID)
{
}

DlgCarQR::~DlgCarQR()
{
}

void DlgCarQR::DoDataExchange(CDataExchange* pDX)
{
	CDialogEx::DoDataExchange(pDX);
	DDX_Text(pDX, IDC_EDIT1, m_strQR);
	DDX_Text(pDX, IDC_EDIT2, m_strID);
	DDX_Text(pDX, IDC_EDIT3, m_strIP);
}


BEGIN_MESSAGE_MAP(DlgCarQR, CDialogEx)
END_MESSAGE_MAP()


// DlgCarQR 消息处理程序
